<script setup>
import { DropdownMenuRoot } from 'radix-vue'

const props = defineProps({
  open: { type: Boolean, required: false },
  defaultOpen: { type: Boolean, required: false },
  dir: { type: String, required: false },
  modal: { type: Boolean, required: false },
})
const emits = defineEmits(['update:open'])
</script>

<template>
  <DropdownMenuRoot v-bind="props" @update:open="emits('update:open')">
    <slot />
  </DropdownMenuRoot>
</template>
